
public class Graduated extends Students{
	public String name;
	public String dept;
	public Graduated(String name, String dept, String school){
		super(school);
		this.name = name; this.dept = dept;
	}

	public void info(){
		System.out.println("from Graduated class");
		System.out.println("My name is " + this.name + ", graduated from " + super.school + ",now working at " + this.dept);
	}
}